package org.locker.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.locker.domain.Feedback;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 反馈(投诉建议)视图对象 lk_feedback
 *
 * @author winnie
 * @date 2023-10-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Feedback.class)
public class FeedbackVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 提现ID
     */
    @ExcelProperty(value = "提现ID")
    private Long id;

    /**
     * 类型: 建议suggestion, 投诉: complain
     */
    @ExcelProperty(value = "类型: 建议suggestion, 投诉: complain")
    private String type;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    private String userName;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;

    /**
     * 手机
     */
    @ExcelProperty(value = "手机")
    private String phone;

    /**
     * 状态：pending 待处理,in_progress 处理中,resolved 已处理,
     */
    @ExcelProperty(value = "状态：pending 待处理,in_progress 处理中,resolved 已处理,")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
